package com.feiynn.study.mocktest.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author Dean
 */
@Data
@TableName("junit_blog")
public class Blog {
    /**
     * mysql自增主键id bigint
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String author;
    private Date createTime;

    /**
     * 数据库字段名reply_num
     */
    private int replyNum;

    private int state;

}
